/* 
 * errno.c
 *
 */
/* native header */
#include <errno.h>
/* native impl common */
#include "_impl_common.h"
/* clang port header */
#include "include/errno.h"
int __clangport_errno = 0;
int* clang_port_errno(void)
{
	__clangport_errno = errno;
	return (int*)(&__clangport_errno);
}

CLANG_PORT_FPTR_VAR(errno) = clang_port_errno;
